package com.banggood.upms.service;

import com.banggood.upms.bean.po.TreePermission;
import com.banggood.upms.bean.vo.TreePermissionVo;
import com.banggood.upms.bean.vo.search.TreePermissionSearchCriteria;

import java.util.List;

/**
 * @author XuChuangFeng
 */
public interface TreePermissionService extends BaseService<TreePermission> {

    List<TreePermission> selectByTreeIdAndSystemId(TreePermissionSearchCriteria vo);

    String adjustTreePerms(List<TreePermission> posForInsert, List<String> idsForRemove);

    String insertTreePerms(List<TreePermission> posForInsert);

    String deleteAll(TreePermissionVo vo);
}
